package org.stone926.airschool.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.stone926.airschool.bean.Student;

public interface StudentDao {
	public List<Student> getAllStudents();

	public Student getStudentById(Integer sid);

	public int updateStudent(Student student);

	public int insertStudent(@Param("student") Student student);

	public Student getStudentByName(String sname);

	public Student getStudentByPhoneNumber(String phonenumber);
}
